﻿namespace KeRui.Common
{
    using System;

    public interface ISmtpMail
    {
        bool AddRecipient(params string[] username);
        bool Send();

        string Body { get; set; }

        string From { get; set; }

        string FromName { get; set; }

        bool Html { get; set; }

        string MailDomain { set; }

        int MailDomainPort { set; }

        string MailServerPassWord { set; }

        string MailServerUserName { set; }

        string RecipientName { get; set; }

        string Subject { get; set; }
    }
}

